﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using Model;
using Function;
using System.Data;

namespace UI.Module.User
{
    public partial class DetailMsge : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                string id = Request.QueryString["ID"] ?? "";
                if (id!="")
                {
                    DataSet ds = new ST_SellSchemeBLL().GetList("id=" + id);
                    if (ds.Tables[0].Rows.Count>0)
                    {
                        foreach (DataRow item in ds.Tables[0].Rows)
                        {
                            Label1.Text = item["Title"].ToString();
                            Label2.Text = item["shopName"].ToString();
                            Label3.Text = item["userName"].ToString();
                            Label4.Text = item["CreateTime"].ToString();
                            div_Explan.InnerHtml = item["Con"].ToString();
                        }
                    }
                }
            }
        }
       
    }
}